package com.fuze.questionnaire.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author sepc_
 * @date 10/15/2021 12:00
 * 问题选项关联表
 */
@ApiModel(value="problem_options_related_tab")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "problem_options_related_tab")
public class ProblemOptionsRelated implements Serializable {
    private static final long serialVersionUID = 6675586821791906296L;
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 问题id
     */
    @TableField(value = "problem_id")
    @ApiModelProperty(value="问题id")
    private Integer problemId;

    /**
     * 选项id
     */
    @TableField(value = "options_id")
    @ApiModelProperty(value="选项id")
    private Integer optionsId;


    public static final String COL_ID = "id";

    public static final String COL_PROBLEM_ID = "problem_id";

    public static final String COL_OPTIONS_ID = "options_id";
}